﻿using CatLib;
using CatLib.Container;

namespace GameFramework.Json
{
    /// <summary>
    /// CatJson Json服务提供者
    /// </summary>
    internal sealed class CatJsonServiceProvider : ServiceProvider
    {
        public override void Register()
        {
            App.Singleton<IJsonService, CatJsonService>();
            App.Bind<IJsonCore>(() => JsonService.That.Allocate());
        }
    }
}